package cn.com.sise.pojo;

import java.util.List;

public class Exercise {
    private Integer exerciseId;
    private String title;
    private List<Question> questionList;

    public Integer getExerciseId() {
        return exerciseId;
    }

    public void setExerciseId(Integer exerciseId) {
        this.exerciseId = exerciseId;
    }

    public List<Question> getQuestions() {
        return questionList;
    }

    public void setQuestions(List<Question> questionList) {
        this.questionList = questionList;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Exercise{" +
                "exerciseId=" + exerciseId +
                ", title='" + title + '\'' +
                ", questionList=" + questionList +
                '}';
    }
}
